package com.ry.rabbitmq.module;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 简单一对一模式
 * @author Szj
 *
 */
@Configuration
public class WorkModuleConfig {

	@Bean
    public Queue myQueue() {
        Queue queue = new Queue("simple-queue");
        return queue;
    }
	
}
